package cn.exrick.xboot.modules.transport.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "b_order_car_file")
@TableName("b_order_car_file")
@ApiModel(value = "订单-车辆-附件信息")
public class OrderCarFile extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单-车辆ID")
    private Long orderCarId;

    @ApiModelProperty(value = "车辆照片地址")
    private String fileUrl;

    @ApiModelProperty(value = "附件类型 预留")
    private String infoType;

}